package com.guigu.www.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.www.pojo.GatherDetails;

import java.util.List;

public interface GatherDetailsService extends IService<GatherDetails> {
   //入库申请添加明细表数据
   public  boolean addGathrDetailsd(List<GatherDetails> gatherDetails);
    //根据产品编号查询产品的安全库存 和 入库表
   public  GatherDetails queryGatherDetailsByproductId(String productId,int ids);
    //修改明细表为K002-2: 已调度
   public boolean updateGatherDetailsByproductId(String gatheredAmount,String productId);
   //登记修改明细表状态
   public boolean updateWarehosingGaherDetils(List<GatherDetails> gatherDetails,int id);
    //查询当前入库的产品明细
   public  GatherDetails querygatherDetailsBycpidByid(int id, String productId);
    //登记成功修改明细表数据
  public  boolean updatewarehousingexaminequeryGatherByGathers(List<GatherDetails> gatherDetails, Integer id);

  public  PageInfo<GatherDetails> queryBydynamicinventiryall(int pageno, int pagesize, String productId);
}
